package com.info.zhiduoduo.repository.entity.recharge;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author tianyonghong
 * @create 2021/12/9
 */
@Data
@Accessors(chain = true)
@TableName("zdd_recharge_type")
public class RechargeType extends Model<RechargeType> {

    @TableId(value = "recharge_type_id" , type = IdType.AUTO)
    private int rechargeTypeId;

    /**
     * 收费类型名称
     */
    @TableField("recharge_type_name")
    private String rechargeTypeName;
    /**
     * 收费标准
     */
    @TableField("recharge_standard")
    private String rechargeStandard;
    /**
     * 创建时间
     */
    private Date createdTime;

    @Override
    protected Serializable pkVal() {
        return this.rechargeTypeId;
    }
}
